package level.editor.detail;

import level.editor.command.Command;
import level.editor.mediator.Mediator;
import level.editor.mediator.Module;
import level.editor.window.HasView;
import level.editor.window.Window;

public class DetailModule extends Module implements HasView
{
	@SuppressWarnings("unused")
	private DetailView view;
	
	public DetailModule(Mediator mediator)
	{
		super(mediator, "DetailModule");
		view = null;
	}

	@Override
	public void establishView(Window window)
	{
		DetailView view = new DetailView();
		this.view = view;
		view.registerModule(this);
		view.init(window);
	}

	@Override
	public void pushDownCommand(Command command)
	{
		// TODO Auto-generated method stub
		
	}
}
